const { SERVER_PORT } = require("./config/server")
// 1.导入app
const app = require("./app")

// 启动错误监听
require("./utils/handle-error")

// 2.将app启动
app.listen(SERVER_PORT, () => {
  console.log("coderhub服务器启动成功~")
})
